import Layout from '@/layout'

const statisticManageRouter = {
  path: '/statistic-mange',
  component: Layout,
  redirect: 'noRedirect',
  name: 'statistic-mange',
  meta: {
    title: '数据统计',
    icon: 'component'
  },
  children: [
    {
      path: 'alert-statistic',
      component: () => import('@/views/statistic-mange/alert-statistic/alert-statistic'),
      name: 'alert-statistic',
      meta: {
        title: '报警数据统计',
        noCache: true
      }
    },
    {
      path: 'statistic-report',
      component: () => import('@/views/statistic-mange/statistic-report/statistic-report'),
      name: 'statistic-report',
      meta: {
        title: '报警报表',
        noCache: true
      }
    }
  ]
};

export default statisticManageRouter
